package com.qf.service;

import java.io.IOException;

/*
杨威
2022/1/17
22:07
*/
public interface DocService {
    //小乌龟拉取
	//小乌龟提交
    void addDoc(String index, String source) throws IOException;

    void addDocWithId(String index, String id,String source) throws IOException;

    void updateDoc(String index,String id, String source) throws Exception;

    void deleteDoc(String index,String id) throws Exception;
}
